package com.ifly.service;

import com.ifly.pojo.User;

import java.util.List;

public interface UserService {

    User login(String name,String pwd);

    List<User> findAll();

    int update(User user);

    int save(User user);

    int del(Integer id);
}
